package org.jeecg.modules.them.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 主题信息
 * @Author: jeecg-boot
 * @Date:   2020-05-02
 * @Version: V1.0
 */
@Data
@TableName("thm_theme_info")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="thm_theme_info对象", description="主题信息")
public class ThmThemeInfo {

	/**主键ID*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键ID")
	private String id;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**修改人*/
	@Excel(name = "修改人", width = 15)
    @ApiModelProperty(value = "修改人")
	private String updateBy;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private java.util.Date updateTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private String remark;
	/**删除标识0-正常,1-已删除*/
	@Excel(name = "删除标识0-正常,1-已删除", width = 15)
    @ApiModelProperty(value = "删除标识0-正常,1-已删除")
	private Integer delFlag;
	/**主题分类ID*/
	@Excel(name = "主题分类ID", width = 15)
    @ApiModelProperty(value = "主题分类ID")
	private String categoryId;
	/**主题分类名称*/
	@Excel(name = "主题分类名称", width = 15)
    @ApiModelProperty(value = "主题分类名称")
	private String categoryName;
	/**发起人id*/
	@Excel(name = "发起人id", width = 15)
    @ApiModelProperty(value = "发起人id")
	private String authorId;
	/**发起人头像*/
	@Excel(name = "发起人头像", width = 15)
    @ApiModelProperty(value = "发起人头像")
	private String authorHead;
	/**发起人名称*/
	@Excel(name = "发起人名称", width = 15)
    @ApiModelProperty(value = "发起人名称")
	private String authorName;
	/**主题名称*/
	@Excel(name = "主题名称", width = 15)
    @ApiModelProperty(value = "主题名称")
	private String themeName;
	/**主题简介*/
	@Excel(name = "主题简介", width = 15)
    @ApiModelProperty(value = "主题简介")
	private String themeIntroduce;
	/**主题宣传图手机*/
	@Excel(name = "主题宣传图手机", width = 15)
    @ApiModelProperty(value = "主题宣传图手机")
	private String mbLogoUrl;
	/**主题内容*/
	@Excel(name = "主题内容", width = 15)
    @ApiModelProperty(value = "主题内容")
	private Object content;
	/**搜索关键词*/
	@Excel(name = "搜索关键词", width = 15)
    @ApiModelProperty(value = "搜索关键词")
	private String keyword;
	/**是否发布 1、是  0、否*/
	@Excel(name = "是否发布 1、是  0、否", width = 15)
    @ApiModelProperty(value = "是否发布 1、是  0、否")
	private Integer isRelease;
	/**发布日期(攻略发布时间)*/
	@Excel(name = "发布日期(攻略发布时间)", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "发布日期(攻略发布时间)")
	private java.util.Date releaseTime;
	/**是否置顶 1是0否*/
	@Excel(name = "是否置顶 1是0否", width = 15)
    @ApiModelProperty(value = "是否置顶 1是0否")
	private Integer isTop;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
	private Integer sort;
	/**阅读量*/
	@Excel(name = "阅读量", width = 15)
    @ApiModelProperty(value = "阅读量")
	private Integer readNum;
	/**收藏量*/
	@Excel(name = "收藏量", width = 15)
    @ApiModelProperty(value = "收藏量")
	private Integer collectionNum;
//	/**转发量*/
//	@Excel(name = "转发量", width = 15)
//    @ApiModelProperty(value = "转发量")
//	private java.lang.Integer forwardNum;
	/**点赞数*/
	@Excel(name = "点赞数", width = 15)
    @ApiModelProperty(value = "点赞数")
	private Integer thumbsNum;
	/**分享数量*/
	@Excel(name = "分享数量", width = 15)
    @ApiModelProperty(value = "分享数量")
	private Integer shareNum;
	/**预留字段*/
	@Excel(name = "预留字段", width = 15)
    @ApiModelProperty(value = "预留字段")
	private String field1;
	/**预留字段*/
	@Excel(name = "预留字段", width = 15)
    @ApiModelProperty(value = "预留字段")
	private String field2;
	/**预留字段*/
	@Excel(name = "预留字段", width = 15)
    @ApiModelProperty(value = "预留字段")
	private String field3;
	/**预留字段*/
	@Excel(name = "预留字段", width = 15)
    @ApiModelProperty(value = "预留字段")
	private String field4;
	/**预留字段*/
	@Excel(name = "预留字段", width = 15)
    @ApiModelProperty(value = "预留字段")
	private String field5;
	/**预留字段*/
	@Excel(name = "预留字段", width = 15)
    @ApiModelProperty(value = "预留字段")
	private String field6;
}
